//
//  UILabel+Extension.swift
//  徐工微博
//
//  Created by ahfu on 2017/4/15.
//  Copyright © 2017年 ahfu. All rights reserved.
//

import UIKit
extension UILabel{
    class func setUILabel(text: String, fontSize: CGFloat, textColor: UIColor) -> UILabel{
        let label = UILabel()
        label.text = text
        label.font = UIFont.systemFont(ofSize: fontSize)
        label.textColor = textColor
        label.numberOfLines = 0
        label.sizeToFit()
        return label
    }
}
